package com.ruoyi.common.config;

import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * Company: 中泰信息（常州）有限公司
 * Department: 开发部
 * Date: 2021/09/06 13:28
 *
 * @Author: Ljxpa
 * Email: ljxpall@163.com
 * Desc:
 */
@Configuration
public class RestTemplateConfig {

	@Bean
	public RestTemplate restTemplate(RestTemplateBuilder builder) {
		return builder.build();
	}
}
